public void DeleteSection(SectionEntity entity)
 {
     try
     {
         _sectionReposytory.Delete(entity.ToDalSection());
         _unitOfWorkuow.Commit();
     }
     catch (Exception e)
     {
         Log.LogError(e);
     }
 }
Example #2
0
 public void UpdateSection(SectionEntity section)
 {
     sectionRepository.Update(section.ToDalSection());
     uow.Commit();
 }