public SectionClosureDTO CloseSection(SectionClosureDTO sectionClosureDTO)
        {
            SectionClosure sc = SectionClosureDTO.MapToBaseFunc(sectionClosureDTO);

            DbContext.SectionClosures.Add(sc);
            DbContext.SaveChanges();
            return(SectionClosureDTO.MapToDTOFunc(sc));
        }
 public static SectionClosureDTO MapToDTOFunc(SectionClosure sc)
 {
     return(MapToDTO.Compile().Invoke(sc));
 }