Пример #1
0
 public virtual void AddCostType(cost_typeDto cost_Type)
 {
     Domain.cost_type model = AutoMapper.Mapper.Map <Domain.cost_type>(cost_Type);
     _cost_typeRepository.Insert(model);
 }
Пример #2
0
 public virtual void UpdateCostType(cost_typeDto cost_Type)
 {
     Domain.cost_type model = AutoMapper.Mapper.Map <Domain.cost_type>(cost_Type);
     _cost_typeRepository.Update(model);
 }