public ActionResult FilterAcceptedRequests(int page, int pageSize, int number, DateTime?fromDate, DateTime?toDate)
        {
            ViewBag.Label = "accepted";
            ViewBag.page  = page;

            if (toDate != null)
            {
                toDate = new DateTime(toDate.Value.Year, toDate.Value.Month, toDate.Value.Day, 23, 59, 59);
            }

            var requests = _rep.GetAcceptedRequests(page, pageSize, number, fromDate, toDate);

            return(PartialView("Requests", requests));
        }