public async Task <bool> Modify(CurrentInStock _model)
        {
            context.Update(_model);
            await context.SaveChangesAsync();

            return(true);
        }
Esempio n. 2
0
        public async Task <bool> Modify(Supplier _model)
        {
            _model.UpdatedUser = scopeContext.UserCode;
            _model.UpdatedDate = DateTime.Now;
            context.Update(_model);
            await context.SaveChangesAsync();

            return(true);
        }
        public async Task <bool> Modify(ExpenditureDocketDetail _model)
        {
            _model.UpdatedUser = scopeContext.UserCode;
            _model.UpdatedDate = DateTime.Now;
            context.Update(_model);
            await context.SaveChangesAsync();

            return(true);
        }