public GetPostsByCategoryQueryHandler(IPisheyarContext context) { _context = context; }
public CreateComplaintCommandHandler(IPisheyarContext context, ICurrentUserService currentUser) { _context = context; _currentUser = currentUser; }
public GetWeeklyMostViewedPostsQueryHandler(IPisheyarContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public GetCategoriesQueryHandler(IPisheyarContext context) { _context = context; }
public CreatePostCommandHandler(IPisheyarContext context, ICurrentUserService currentUserService) { _context = context; _currentUser = currentUserService; }
public OrdersListQueryHandler(IPisheyarContext context, ICurrentUserService currentUserService, IMapper mapper) { _context = context; _currentUser = currentUserService; _mapper = mapper; }
public DeleteUserCommandHandler(IPisheyarContext context) { _context = context; }
public CreateOrderCommandHandler(IPisheyarContext context, ICurrentUserService currentUserService, ISmsService smsService) { _context = context; _currentUser = currentUserService; _sms = smsService; }
public ChangePostActivenessCommandHandler(IPisheyarContext context) { _context = context; }
public GetUsersQueryHandler(IPisheyarContext context, IMapper mapper) { _context = context; _mapper = mapper; }
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; }
public SmsService(IPisheyarContext context) { _context = context; apikey = _context.SmsProviderSetting.FirstOrDefault().Apikey; }