예제 #1
0
 public void UpdateAuthorization(AuthorizationEntity authorizationEntity)
 {
     unitOfWork.AuthorizationRepository.Update(authorizationEntity.ToAuthorization());
 }
예제 #2
0
 public void DeleteAuthorization(AuthorizationEntity authorizationEntity)
 {
     unitOfWork.AuthorizationRepository.Delete(authorizationEntity.ToAuthorization());
     unitOfWork.Save();
 }