Skip to content

Commit c656dd0

Browse files
committed
Derived from ApplicationService class.
1 parent 10833ea commit c656dd0

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Application/People/PersonAppService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
using System.Collections.Generic;
2+
using Abp.Application.Services;
23
using AutoMapper;
34
using SimpleTaskSystem.People.Dtos;
45

56
namespace SimpleTaskSystem.People
67
{
7-
public class PersonAppService : IPersonAppService
8+
public class PersonAppService : ApplicationService, IPersonAppService
89
{
910
private readonly IPersonRepository _personRepository;
1011

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Application/Tasks/TaskAppService.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
using System.Collections.Generic;
2-
using System.Threading;
3-
using Abp.Domain.Uow;
2+
using Abp.Application.Services;
43
using AutoMapper;
5-
using Castle.Core.Logging;
64
using SimpleTaskSystem.People;
75
using SimpleTaskSystem.Tasks.Dtos;
86

97
namespace SimpleTaskSystem.Tasks
108
{
11-
public class TaskAppService : ITaskAppService
9+
public class TaskAppService : ApplicationService, ITaskAppService
1210
{
13-
public ILogger Logger { get; set; }
14-
1511
private readonly ITaskRepository _taskRepository;
1612
private readonly IPersonRepository _personRepository;
1713

1814
public TaskAppService(ITaskRepository taskRepository, IPersonRepository personRepository)
1915
{
2016
_taskRepository = taskRepository;
2117
_personRepository = personRepository;
22-
Logger = NullLogger.Instance;
2318
}
2419

2520
public GetTasksOutput GetTasks(GetTasksInput input)

0 commit comments

Comments
 (0)