Exemple #1
0
        public DtoRole CreateRole(DtoRole e)
        {
            var role = roleRepository.Create(e.ToDalRole());

            uow.Commit();

            return(role.ToDtoRole());
        }
Exemple #2
0
 public void UpdateRole(DtoRole e)
 {
     roleRepository.Update(e.ToDalRole());
     uow.Commit();
 }
Exemple #3
0
 public void DeleteRole(DtoRole e)
 {
     roleRepository.Delete(e.ToDalRole());
     uow.Commit();
 }