public async Task <JsonResult> GetCollaborationRequests([FromHeader] int accountId, [FromRoute] int status = 0, [FromRoute] int asRequester = 1)
        {
            var collaborationRequests = status switch {
                1 => await _collaborationService.GetPendingCollaborationRequests(accountId, asRequester == 1),
                2 => await _collaborationService.GetAcceptedCollaborationRequests(accountId, asRequester == 1),
                3 => await _collaborationService.GetRejectedCollaborationRequests(accountId, asRequester == 1),
                _ => await _collaborationService.GetAllCollaborationRequests(accountId, asRequester == 1)
            };

            return(collaborationRequests == null
                ? new JsonResult(new JsonResponse {
                Result = SharedEnums.RequestResults.Failed, Message = "An issue happened while getting data."
            })
                : new JsonResult(new JsonResponse {
                Result = SharedEnums.RequestResults.Success, Data = collaborationRequests
            }));
        }