public virtual void AddCostType(cost_typeDto cost_Type) { Domain.cost_type model = AutoMapper.Mapper.Map <Domain.cost_type>(cost_Type); _cost_typeRepository.Insert(model); }
public virtual void UpdateCostType(cost_typeDto cost_Type) { Domain.cost_type model = AutoMapper.Mapper.Map <Domain.cost_type>(cost_Type); _cost_typeRepository.Update(model); }