public Result <ShiltonMekomi> UpdateMefune(UpdateMefuneRequest request) { var dbContext = new MedamContext(_connString, _log, _error); if (request.ShiltonMekomi != null) { request.ShiltonMekomi.MfDateOutcome = DateTime.Now; } return(dbContext.UpdateMefune(request.ShiltonMekomi)); }
public Result <IEnumerable <Rashuyot> > GetRashuyot() { var dbContext = new MedamContext(_connString, _log, _error); return(dbContext.GetRashuyot()); }
public Result <IEnumerable <Yeshuvim> > GetYeshuvim() { var dbContext = new MedamContext(_connString, _log, _error); return(dbContext.GetYeshuvim()); }
public Result <IEnumerable <Address> > GetAddresses() { var dbContext = new MedamContext(_connString, _log, _error); return(dbContext.GetAddresses()); }
public Result <bool> Login(string userName, string pws) { var dbContext = new MedamContext(_connString, _log, _error); return(dbContext.Login(userName, pws)); }
public Result <IEnumerable <AgeType> > GetAgeType() { var dbContext = new MedamContext(_connString, _log, _error); return(dbContext.GetAgeType()); }
public ResultWithTotalRows <IEnumerable <ShiltonMekomi> > Search(SearchRequest request) { var dbContext = new MedamContext(_connString, _log, _error); return(dbContext.GetShiltonMekomiByModelAndPages(request)); }
public ResultWithTotalRows <IEnumerable <ReportMitkanim> > Search(SearchMitkanimRequest request) { var dbContext = new MedamContext(_connString, _log, _error); return(dbContext.ExcuteReportMitkanim(request)); }