public async Task <IActionResult> Profile(int currentPage = 1)
        {
            var user = await _userManager.GetUserAsync(HttpContext.User);

            var developer = _freelancerService.GetDeveloperByUserId(user.Id);

            int maxRows = 3;
            int count   = developer.BidRequests.Count;

            developer.BidRequests = (from bidRequest in developer.BidRequests select bidRequest)
                                    .OrderBy(bidRequest => bidRequest.RequestStatus)
                                    .Skip((currentPage - 1) * maxRows)
                                    .Take(maxRows).ToList();

            var devModel = new devProfVm()
            {
                PagingModel = new PagingModel(), Developer = developer
            };
            double pageCount = (double)(count / Convert.ToDecimal(maxRows));

            devModel.PagingModel.PageCount        = (int)Math.Ceiling(pageCount);
            devModel.PagingModel.CurrentPageIndex = currentPage;
            return(View("Profile", devModel));
        }