예제 #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();
 }