示例#1
0
        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));
        }
示例#2
0
        public Result <IEnumerable <Rashuyot> > GetRashuyot()
        {
            var dbContext = new MedamContext(_connString, _log, _error);

            return(dbContext.GetRashuyot());
        }
示例#3
0
        public Result <IEnumerable <Yeshuvim> > GetYeshuvim()
        {
            var dbContext = new MedamContext(_connString, _log, _error);

            return(dbContext.GetYeshuvim());
        }
示例#4
0
        public Result <IEnumerable <Address> > GetAddresses()
        {
            var dbContext = new MedamContext(_connString, _log, _error);

            return(dbContext.GetAddresses());
        }
示例#5
0
        public Result <bool> Login(string userName, string pws)
        {
            var dbContext = new MedamContext(_connString, _log, _error);

            return(dbContext.Login(userName, pws));
        }
示例#6
0
        public Result <IEnumerable <AgeType> > GetAgeType()
        {
            var dbContext = new MedamContext(_connString, _log, _error);

            return(dbContext.GetAgeType());
        }
示例#7
0
        public ResultWithTotalRows <IEnumerable <ShiltonMekomi> > Search(SearchRequest request)
        {
            var dbContext = new MedamContext(_connString, _log, _error);

            return(dbContext.GetShiltonMekomiByModelAndPages(request));
        }
示例#8
0
        public ResultWithTotalRows <IEnumerable <ReportMitkanim> > Search(SearchMitkanimRequest request)
        {
            var dbContext = new MedamContext(_connString, _log, _error);

            return(dbContext.ExcuteReportMitkanim(request));
        }