public virtual void UpdateExceedScheme(ExceedSchemeDto exceedScheme) { Domain.ExceedScheme model = AutoMapper.Mapper.Map <Domain.ExceedScheme>(exceedScheme); _ExceedSchemeRepository.Update(model); }
public virtual void AddExceedScheme(ExceedSchemeDto exceedScheme) { Domain.ExceedScheme model = AutoMapper.Mapper.Map <Domain.ExceedScheme>(exceedScheme); _ExceedSchemeRepository.Insert(model); }