public async Task <IActionResult> CreateRegionAsync(string content, string type, string region) { if (content == "page") { return(Ok(await _service.CreatePageRegionAsync(type, region))); } else if (content == "post") { return(Ok(await _service.CreatePostRegionAsync(type, region))); } else if (content == "site") { return(Ok(await _service.CreateSiteRegionAsync(type, region))); } return(NotFound()); }