/// <summary> /// This method is used to save new members /// </summary> /// <returns></returns> public OperationStatus SaveApplicationUser(ApplicationUserModel applicationUserModel) { using (_IApplicationUserRepo = new ApplicationUserRepo()) { return(_IApplicationUserRepo.SaveApplicationUser(applicationUserModel)); } }
/// <summary> /// method is used for validate application users /// </summary> /// <param name="Logininfo"></param> /// <returns></returns> public object GetLoginUser(LoginUserModel Logininfo) { using (_IApplicationUserRepo = new ApplicationUserRepo()) { return(_IApplicationUserRepo.GetLoginUser(Logininfo)); } }
//ctor <tab> <tab> public PermitsController(IPermitRepo permitRepo, ILotRepo lotRepo, ILotStatusRepo lotStatusRepo, IApplicationUserRepo applicationUserRepo) { this.iPermitRepo = permitRepo; this.iLotRepo = lotRepo; this.iLotStatusRepo = lotStatusRepo; this.iApplicationUserRepo = applicationUserRepo; }
public AnalystController(IApplicationUserRepo userRepo, IForecastRepo forecastRepo, ICropRepo cropRepo, IAnalystRepo analystRepo) { this.forecastRepoInterface = forecastRepo; this.cropRepoInterface = cropRepo; this.applicationUserRepoInterface = userRepo; this.analystRepoInterface = analystRepo; }
public UnitOfWork(ApplicationDbContext context) { _context = context; Patients = new PatientRepo(context); Appointments = new AppointmentRepo(context); Attandences = new AttendanceRepo(context); Cities = new CityRepo(context); Doctors = new DoctorRepo(context); Specializations = new SpecializationRepo(context); Users = new ApplicationUserRepo(context); }
public AppUsersController(IApplicationUserRepo applicationUserRepo) { iApplicationUserRepo = applicationUserRepo; }