Example #1
0
 public GetPostsByCategoryQueryHandler(IPisheyarContext context)
 {
     _context = context;
 }
Example #2
0
 public CreateComplaintCommandHandler(IPisheyarContext context, ICurrentUserService currentUser)
 {
     _context     = context;
     _currentUser = currentUser;
 }
 public GetWeeklyMostViewedPostsQueryHandler(IPisheyarContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Example #4
0
 public GetCategoriesQueryHandler(IPisheyarContext context)
 {
     _context = context;
 }
Example #5
0
 public CreatePostCommandHandler(IPisheyarContext context, ICurrentUserService currentUserService)
 {
     _context     = context;
     _currentUser = currentUserService;
 }
 public OrdersListQueryHandler(IPisheyarContext context, ICurrentUserService currentUserService, IMapper mapper)
 {
     _context     = context;
     _currentUser = currentUserService;
     _mapper      = mapper;
 }
Example #7
0
 public DeleteUserCommandHandler(IPisheyarContext context)
 {
     _context = context;
 }
 public CreateOrderCommandHandler(IPisheyarContext context, ICurrentUserService currentUserService, ISmsService smsService)
 {
     _context     = context;
     _currentUser = currentUserService;
     _sms         = smsService;
 }
Example #9
0
 public ChangePostActivenessCommandHandler(IPisheyarContext context)
 {
     _context = context;
 }
Example #10
0
 public GetUsersQueryHandler(IPisheyarContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Example #11
0
 public GetIndexPostsQueryHandler(IPisheyarContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public GetOrderRequestAcceptanceStatusQueryHandler(IPisheyarContext context,
                                                    ICurrentUserService currentUserService)
 {
     _context     = context;
     _currentUser = currentUserService;
 }
 public RegisterCommandHandler(IPisheyarContext context, ISmsService smsService)
 {
     _context = context;
     _sms = smsService;
 }
 public GetAllPostsQueryHandler(IPisheyarContext context, ICurrentUserService currentUser, IMapper mapper)
 {
     _context     = context;
     _currentUser = currentUser;
     _mapper      = mapper;
 }
Example #15
0
 public SmsService(IPisheyarContext context)
 {
     _context = context;
     apikey   = _context.SmsProviderSetting.FirstOrDefault().Apikey;
 }