public Designation CreateDesignation(CreateDesignation designation) { var designationMap = new Designation() { Title = designation.Title, Description = designation.Description }; _designationRepository.Add(designationMap); _designationRepository.Commit(); return(designationMap); }
public void Save() { repository.Commit(); }