public async Task <IActionResult> SearchByRegionAndName([FromBody] SearchRequestModel searchRqModel) { if (searchRqModel.Latitude == 0 || searchRqModel.Longitude == 0 || string.IsNullOrWhiteSpace(searchRqModel.Keyword)) { return(BadRequest("Longitude, Latitude and Keyword are mandotary fields.")); } var photos = await _flickrService.SearchByRegionAndName(searchRqModel); return(Ok(photos)); }