File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Application Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
+ using Abp . Application . Services ;
2
3
using AutoMapper ;
3
4
using SimpleTaskSystem . People . Dtos ;
4
5
5
6
namespace SimpleTaskSystem . People
6
7
{
7
- public class PersonAppService : IPersonAppService
8
+ public class PersonAppService : ApplicationService , IPersonAppService
8
9
{
9
10
private readonly IPersonRepository _personRepository ;
10
11
Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
- using System . Threading ;
3
- using Abp . Domain . Uow ;
2
+ using Abp . Application . Services ;
4
3
using AutoMapper ;
5
- using Castle . Core . Logging ;
6
4
using SimpleTaskSystem . People ;
7
5
using SimpleTaskSystem . Tasks . Dtos ;
8
6
9
7
namespace SimpleTaskSystem . Tasks
10
8
{
11
- public class TaskAppService : ITaskAppService
9
+ public class TaskAppService : ApplicationService , ITaskAppService
12
10
{
13
- public ILogger Logger { get ; set ; }
14
-
15
11
private readonly ITaskRepository _taskRepository ;
16
12
private readonly IPersonRepository _personRepository ;
17
13
18
14
public TaskAppService ( ITaskRepository taskRepository , IPersonRepository personRepository )
19
15
{
20
16
_taskRepository = taskRepository ;
21
17
_personRepository = personRepository ;
22
- Logger = NullLogger . Instance ;
23
18
}
24
19
25
20
public GetTasksOutput GetTasks ( GetTasksInput input )
You can’t perform that action at this time.
0 commit comments