Пример #1
0
        public bool Delete([FromBody] TblOfficeExpencesDetails expencedetails)
        {
            try
            {
                this._repoWrapper.Expencedetails.DeleteOfficeExpense(expencedetails);
                //this._repoWrapper.Expencedetails.Save();
                return(true);
            }

            catch (Exception e)
            {
                return(false);
            }
        }
Пример #2
0
        public bool Update([FromBody] TblOfficeExpencesDetails ExpencesNo)
        {
            try
            {
                this._repoWrapper.Expencedetails.Update(ExpencesNo);
                this._repoWrapper.Expencedetails.Save();
                return(true);
            }

            catch (Exception e)
            {
                return(false);
            }
        }