Example #1
0
        public async Task <bool> Add(AuditRateDDto model)
        {
            var auditRateD = _mapper.Map <MES_Audit_Rate_D>(model);

            _auditRateDRepository.Add(auditRateD);
            return(await _auditRateDRepository.SaveAll());
        }
Example #2
0
        public async Task <bool> Add(AuditRateDDto model)
        {
            var auditRecD = _mapper.Map <MES_Audit_Rate_D>(model);

            _repoRateD.Add(auditRecD);
            return(await _repoRateD.SaveAll());
        }
Example #3
0
 public Task <bool> Update(AuditRateDDto model)
 {
     throw new System.NotImplementedException();
 }