Beispiel #1
0
 public EFUpdateCategory(OzposloviContext context, CategoryValidation validator)
 {
     _context   = context;
     _validator = validator;
 }
Beispiel #2
0
 public EFGetJobs(OzposloviContext context)
 {
     _context = context;
 }
 public EFCreateJobvacancie(OzposloviContext context, IAppActor actor, JobvacanciesValidator validator)
 {
     _context   = context;
     _actor     = actor;
     _validator = validator;
 }
 public JobvacanciesController(OzposloviContext context, UseCaseExecutor executor, IAppActor actor)
 {
     _context  = context;
     _executor = executor;
     _actor    = actor;
 }
Beispiel #5
0
 public EFGetUseCaseLog(OzposloviContext context)
 {
     _context = context;
 }
 public EFChangeUserPassword(OzposloviContext context, ChangePasswordValidator validator)
 {
     _context   = context;
     _validator = validator;
 }
Beispiel #7
0
 public EFGetCategories(OzposloviContext context)
 {
     _context = context;
 }
Beispiel #8
0
 public EFGetAllJobvacanciesAdmin(OzposloviContext context)
 {
     _context = context;
 }
 public EFRemoveUsersJobVacancie(OzposloviContext context, IAppActor actor)
 {
     _context = context;
     _actor   = actor;
 }
Beispiel #10
0
 public EFAddLocation(OzposloviContext context, LocationValidator validations)
 {
     _context         = context;
     this.validations = validations;
 }
 public EFGetJobvacancieById(OzposloviContext context)
 {
     _context = context;
 }
Beispiel #12
0
 public EFGetJobvacancies(OzposloviContext context, IAppActor actor)
 {
     _context = context;
     _actor   = actor;
 }
Beispiel #13
0
 public JwtManager(OzposloviContext context)
 {
     _context = context;
 }
 public LocationController(OzposloviContext context, UseCaseExecutor executor, IAppActor actor)
 {
     _context  = context;
     _executor = executor;
     _actor    = actor;
 }
 public CategoryValidation(OzposloviContext context)
 {
     RuleFor(c => c.CategoryName).NotEmpty().Must(c => !context.Categories.Any(cat => cat.CategoryName == c)).WithMessage("Category name must be unique");
 }
Beispiel #16
0
 public LocationValidator(OzposloviContext context)
 {
     RuleFor(x => x.CityName)
     .NotEmpty()
     .Must(x => !context.Locations.Any(loc => loc.CityName == x)).WithMessage("Location name must be unique");
 }
Beispiel #17
0
 public EFChangeStatus(OzposloviContext context, JobvacanciesValidatorAdmin validator)
 {
     _context   = context;
     _validator = validator;
 }
Beispiel #18
0
 public EFRemoveJob(OzposloviContext context)
 {
     _context = context;
 }
Beispiel #19
0
 public EFRegistration(OzposloviContext context, RegistrationValidation validation)
 {
     _context    = context;
     _validation = validation;
 }