public Klasservice(IUOW uow, IGenericRepository<Klas> KlasRepository, IGenericRepository<LeerkrachtSchoolKlas> lskRepos, IKlasRepository repository) { this.uow = uow; this.KlasRepository = KlasRepository; this.klasrepository = repository; this.lskRepos = lskRepos; }
public TranslationsController(ILogger logger, IUOW uow) { _logger = logger; _logger.Debug("InstanceId: " + _instanceId); _uow = uow; }
public Superuserservice(IUOW uow, IGenericRepository<School> ScholenRepository, ISchoolRepository scholen2Repository) { this.uow = uow; this.SchoolRepository = ScholenRepository; this.userRepository = scholen2Repository; }
public NominatieService(TFContext context, IGenericRepository<Award> repoAward, INominatieRepository repoNominatie, IGenericRepository<JuryLid> repoJuryLid , IJuryKeuzeRepository repoJuryKeuze, IUOW uow, INominatieEngine engNominatie) { this.context = context; this.repoAward = repoAward; this.repoNominatie = repoNominatie; this.repoJuryLid = repoJuryLid; this.repoJuryKeuze = repoJuryKeuze; this.uow = uow; this.engNominatie = engNominatie; }
public UsersController(IUOW uow, NLog.ILogger logger, ApplicationRoleManager roleManager, ApplicationSignInManager signInManager, ApplicationUserManager userManager, IAuthenticationManager authenticationManager) { _logger = logger; _roleManager = roleManager; _signInManager = signInManager; _userManager = userManager; _authenticationManager = authenticationManager; _uow = uow; _logger.Debug("InstanceId: " + _instanceId); }
public ContentService(TFContext context, IGenericRepository<Award> repoAward, INominatieRepository repoNominatie, ISponsorRepository repoSponsor, INieuwsItemRepository repoNieuwsItem, IGenericRepository<Setup> repoSetup, IGenericRepository<Contact> repoContact , IGenericRepository<HallOfFame> repoHallOfFame , IGenericRepository<Home> repoHome , IGenericRepository<JuryLid> repoJuryLid , IGenericRepository<Page> repoPage , IJuryKeuzeRepository repoJuryKeuze, IGenericRepository<FlickrAlbum> repoFlickr, IUOW uow) { this.context = context; this.repoAward = repoAward; this.repoNominatie = repoNominatie; this.repoSponsor = repoSponsor; this.repoNieuwsItem = repoNieuwsItem; this.repoSetup = repoSetup; this.repoContact = repoContact; this.repoHallOfFame = repoHallOfFame; this.repoHome = repoHome; this.repoJuryLid = repoJuryLid; this.repoPage = repoPage; this.repoJuryKeuze = repoJuryKeuze; this.uow = uow; this.repoFlickr = repoFlickr; }
public EntityReferenceValidator(IUOW UOW, ICurrentContext CurrentContext) { this.UOW = UOW; this.CurrentContext = CurrentContext; }
public ProfessionValidator(IUOW UOW, ICurrentContext CurrentContext) { this.UOW = UOW; this.CurrentContext = CurrentContext; }
public CustomerEmailValidator(IUOW UOW, ICurrentContext CurrentContext) { this.UOW = UOW; this.CurrentContext = CurrentContext; }
public Leerlingservice(IUOW uow, IGenericRepository<Leerling> LeerlingRepository, ILeerlingrepository repository) { this.uow = uow; this.LeerlingRepository = LeerlingRepository; this.lrepository = repository; }
private SetContactCode SetContact(UserDTO userDTO, string value, string propertyName, Func <string, IUOW, CheckResult> checkFunc, IUOW Data) { var User = GetUserService.Get(userDTO, Data); if (User == null) { return(SetContactCode.UserNotFound); } if (User.GetType().GetProperty(propertyName).GetValue(User) != null) { return(SetContactCode.AlreadySet); } var check = checkFunc(value, Data); if (check == CheckResult.AlreadyExists) { return(SetContactCode.AlreadyExists); } else if (check == CheckResult.WrongValue) { return(SetContactCode.WrongValue); } User.GetType().GetProperty(propertyName).SetValue(User, new Contact { Confirmed = false, Value = value }); Data.UserRepository.Edited(User); Data.SaveChanges(); return(SetContactCode.Succsess); }
public AttendanceService(IUOW uow_, IResponse response_, IMapper mapper_) { UOW = uow_; mapper = mapper_; response = response_; }
public ManufactorersController(IUOW uow) { _uow = uow; }
public ComputerSpecificationsController(IUOW uow) { _uow = uow; }
public Gebruikersservice(IUOW uow, IGenericRepository<ApplicationUser> reposID, IGebruikersrepository repository) { this.uow = uow; this.reposIdentity = reposID; this.repository = repository; }
public HomeController(IUOW uow) { _uow = uow; }
//private DataBaseContext _uow = new DataBaseContext(); public ProductSelectorsController(IUOW uow) { _uow = uow; }
public MapsController(IUOW uow) { _uow = uow; }
public ArticlesController(IUOW uow) { _uow = uow; }
public SLAEscalationPhoneValidator(IUOW UOW, ICurrentContext CurrentContext) { this.UOW = UOW; this.CurrentContext = CurrentContext; }
public OefeningService(IUOW uow, IGenericRepository<Oefeningen> reposOef, IGenericRepository<Resultaten> reposRes) { this.uow = uow; this.reposOef = reposOef; this.reposRes = reposRes; }
public DeleteProductByIdCommandHandler(IUOW unitOfWork) { _unitOfWork = unitOfWork; }
//private DataBaseContext _uow = new DataBaseContext(); public MatchesController(IUOW uow) { _uow = uow; }
private ConfirmResult ConfirmContact(UserDTO userDTO, string propertyName, Func <Contact, IUOW, string, ConfirmResult> func, IUOW Data, string key = null) { var User = GetUserService.Get(userDTO, Data); if (User == null) { return new ConfirmResult { Status = ConfirmCode.UserNotFound } } ; var Property = User.GetType().GetProperty(propertyName); var Contact = Property.GetValue(User) as Contact; if (Contact == null) { return new ConfirmResult { Status = ConfirmCode.ContactNotFound } } ; return(func(Contact, Data, key)); }
//private DataBaseContext _uow = new DataBaseContext(); public PieceInComputersController(IUOW uow) { _uow = uow; }
public SemesterService(IUOW UOW, ISemesterValidator SemesterValidator) { this.UOW = UOW; this.SemesterValidator = SemesterValidator; }
public ExerciseInWorkoutsController(IUOW uow) { _uow = uow; }
public GroupsController(IUOW uow) { _uow = uow; }
//private DataBaseContext _uow = new DataBaseContext(); public GameSpecificationsController(IUOW uow) { _uow = uow; }
public CustomerLeadSourceValidator(IUOW UOW, ICurrentContext CurrentContext) { this.UOW = UOW; this.CurrentContext = CurrentContext; }
public HomeController(ILogger <HomeController> logger, IUOW service) { _logger = logger; _service = service; }
public Leerlingservice(IUOW uow, IGenericRepository <Leerling> LeerlingRepository, ILeerlingrepository repository) { this.uow = uow; this.LeerlingRepository = LeerlingRepository; this.lrepository = repository; }
public University_Majors_SubjectGroupValidator(IUOW UOW) { this.UOW = UOW; }
//private DataBaseContext _uow = new DataBaseContext(); public TeamsController(IUOW uow) { _uow = uow; }
public DiscountContentValidator(IUOW UOW) { this.UOW = UOW; }
public CatalogController(IUOW service, UserManager <User> userManager) { _service = service; _userManager = userManager; }
public SessionController(IUOW iUOW, IDirector director) { _uow = iUOW; _director = director; }
public University_Majors_SubjectGroupService(IUOW UOW) { this.UOW = UOW; }
public TicketService(IUOW uow_, IResponse response_, INotificationService notification_) { UOW = uow_; response = response_; notification = notification_; }
//private DataBaseContext _uow = new DataBaseContext(); public ModelSeriesController(IUOW uow) { _uow = uow; }
public BlogPostsController(IUOW uow) { _logger.Debug("InstanceId: " + _instanceId); _uow = uow; }
public UserStore(IUOW uow) : base(uow) { }
public DartaController(IMapper _map, IUOW _uow, IGenericRepository <Dartas> _Irepo) { this._Irepo = _Irepo; this._uow = _uow; this._map = _map; }
public ImageValidator(IUOW UOW, ICurrentContext CurrentContext) { this.UOW = UOW; this.CurrentContext = CurrentContext; }
public SemesterValidator(IUOW UOW) { this.UOW = UOW; }
private void SetPassword(User user, string password, IUOW Data) { user.Password = PassHasher.Get(password); Data.UserRepository.Edited(user); Data.SaveChanges(); }
public PlayersController(IUOW uow) { _uow = uow; }
private ConfirmResult RemoveContact(User User, string propertyName, Func <Contact, IUOW, string, ConfirmResult> func, AuthType checkType, IUOW Data, string key = null) { if (User == null) { return new ConfirmResult { Status = ConfirmCode.UserNotFound } } ; var Property = User.GetType().GetProperty(propertyName); var Contact = Property.GetValue(User) as Contact; if (Contact == null) { return new ConfirmResult { Status = ConfirmCode.ContactNotFound } } ; var res = func(Contact, Data, key); if (res.Status == ConfirmCode.Success && User.authType == checkType) { Property.SetValue(User, null); User.authType = AuthType.Simple; Data.UserRepository.Edited(User); Data.SaveChanges(); } return(res); }
public ContactStatusValidator(IUOW UOW, ICurrentContext CurrentContext) { this.UOW = UOW; this.CurrentContext = CurrentContext; }