Example #1
0
 public ApplicationServiceBase(ApplicationServiceServicesContext context)
 {
     Mapper            = context.Mapper;
     UserService       = context.UserService;
     ValidationService = context.ValidationService;
     OrderByMapper     = context.OrderByMapper;
 }
Example #2
0
 public ApplicationervicesContext(IWebHostEnvironment hostingEnvironment, IMapper mapper, IAuthorizationService authorizationService, IUserService userService, IValidationService validationService, IOrderByMapper orderByMapper)
 {
     HostingEnvironment   = hostingEnvironment;
     Mapper               = mapper;
     AuthorizationService = authorizationService;
     UserService          = userService;
     ValidationService    = validationService;
     OrderByMapper        = orderByMapper;
 }