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

            uow.Commit();

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