public ActionResult ApproveInformationRequest(
     [FromHeader] Enumerations.AccessLevel auth,
     [FromHeader] Enumerations.NetworkType network,
     [FromHeader] int userId,
     [FromBody] InformationRequestApprovalCreationDto informationRequestApprovalCreationDto)
 {
     return(Ok(new { AccessRequestId = informationRequestApprovalCreationDto.AccessRequestId }));
 }
        public IActionResult CreateInformationRequest(
            [FromHeader] Enumerations.AccessLevel auth,
            [FromHeader] Enumerations.NetworkType network,
            [FromHeader] int userId)
        {
            //Assume from the database
            var informationRequestDto = new InformationRequestDto()
            {
                AccessLevel = Enumerations.AccessLevel.Unknown,
                StartTime   = new DateTime(2000, 1, 1),
                EndTime     = new DateTime(3000, 12, 1), //or new DateTime(2000, 12, 1) for a different result
            };

            return(Ok(informationRequestDto));
        }
        public IActionResult GetCurrentInformationRequests(
            [FromHeader] Enumerations.AccessLevel auth,
            [FromHeader] Enumerations.NetworkType network,
            [FromHeader] int userId)
        {
            //Assume from the database
            var informationRequestDto = new InformationRequestDto()
            {
                AccessLevel = Enumerations.AccessLevel.Unknown,
                StartTime   = new DateTime(2000, 1, 1),
                EndTime     = new DateTime(3000, 12, 1), //or new DateTime(2000, 12, 1) for a different result
            };

            // switch()
            return(Ok(new[] { informationRequestDto, informationRequestDto, informationRequestDto })); //returns IEnumerable
        }