public async Task <IActionResult> SearchEnterprises(SearchEnterpriseParameters sep)
        {
            if (ModelState.IsValid)
            {
                var temp = await enterpriseService.SearchEnterprises(sep);

                if (temp != null)
                {
                    return(Ok(temp));
                }
                else
                {
                    return(BadRequest(new { Message = "Something went wrong. Please, try again later." }));
                }
            }
            else
            {
                return(BadRequest(new { Message = "Invalid parameters supplied." }));
            }
        }