public DtoRole CreateRole(DtoRole e) { var role = roleRepository.Create(e.ToDalRole()); uow.Commit(); return(role.ToDtoRole()); }
public void UpdateRole(DtoRole e) { roleRepository.Update(e.ToDalRole()); uow.Commit(); }
public void DeleteRole(DtoRole e) { roleRepository.Delete(e.ToDalRole()); uow.Commit(); }