public PublicManager(IMapper mapper,
                      INewsDal newsDal,
                      IFoodMenuDal foodMenuDal,
                      IHomeAnnounceDal homeAnnounceDal, IUserDal userDal, IUploadFile upload, IUserPhotoDal userPhotoDal,
                      IDegreeDal degreeDal, IUserService userService,
                      ICampusDal campusDal,
                      IDepartmentDal departmentDal,
                      IVehicleAnnounceDal vehicleAnnounceDal,
                      IHttpContextAccessor httpContextAccessor,
                      IAnnounceDal announceDal)
 {
     this.vehicleAnnounceDal  = vehicleAnnounceDal;
     this.httpContextAccessor = httpContextAccessor;
     this.homeAnnounceDal     = homeAnnounceDal;
     this.userDal             = userDal;
     this.upload        = upload;
     this.userPhotoDal  = userPhotoDal;
     this.degreeDal     = degreeDal;
     this.userService   = userService;
     this.campusDal     = campusDal;
     this.departmentDal = departmentDal;
     this.announceDal   = announceDal;
     this.mapper        = mapper;
     this.newsDal       = newsDal;
     this.foodMenuDal   = foodMenuDal;
 }
 public CampusManager(ICampusDal campusDal, IMapper mapper)
 {
     this.mapper    = mapper;
     this.campusDal = campusDal;
 }