public async Task <IActionResult> GetPendingRequests()
        {
            var ret = await service.GetPendingRequests(User.Identity.Name);

            return(Ok(mapper.Map <IEnumerable <UserResource> >(ret)));
        }