示例#1
0
        public Designation CreateDesignation(CreateDesignation designation)
        {
            var designationMap = new Designation()
            {
                Title       = designation.Title,
                Description = designation.Description
            };

            _designationRepository.Add(designationMap);
            _designationRepository.Commit();

            return(designationMap);
        }
示例#2
0
 public void Save()
 {
     repository.Commit();
 }