public void DeleteAuthorization(AuthorizationEntity authorizationEntity) { unitOfWork.AuthorizationRepository.Delete(authorizationEntity.ToAuthorization()); unitOfWork.Save(); }
public void UpdateAuthorization(AuthorizationEntity authorizationEntity) { unitOfWork.AuthorizationRepository.Update(authorizationEntity.ToAuthorization()); }