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