public IEnumerable <SectionEntity> GetAllSectionEntities() { try { return(_sectionReposytory.GetAll().Select(s => s?.ToBllSection())); } catch (Exception exception) { Log.LogError(exception); return(new List <SectionEntity>()); } }