Пример #1
0
        public async Task <bool> Delete(object id)
        {
            var model = _repoauditTypeD.FindById(id);

            _repoauditTypeD.Remove(model);
            return(await _repoauditTypeD.SaveAll());
        }
Пример #2
0
 public AuditType_D_Dto GetById(object id)
 {
     return(_mapper.Map <MES_Audit_Type_D, AuditType_D_Dto>(_repoAuditDType.FindById(id)));
 }