public void AddRoleInPermission(RoleInPermission roleInPermission) { _organizationRepository.AddRoleInPermission(roleInPermission); }
public void AddRoleInPermission(RoleInPermission roleInPermission) { using (var uow = new UnitOfWork()) { uow.GetRepository<RoleInPermission>().Insert(roleInPermission); uow.SaveChanges(); } }
public void AddRoleInPermission(RoleInPermission roleInPermission) { _organizationBl.AddRoleInPermission(roleInPermission); }