public async Task <IActionResult> GetOrignalUrl(string Url) { if (string.IsNullOrWhiteSpace(Url)) { return(BadRequest(new ApiExceptionResponse("Invalid Url"))); } var response = await _service.OrignalURL(Url); return(Ok(response)); }
public async Task <IActionResult> GetOrignalUrl(string Url) { if (string.IsNullOrWhiteSpace(Url)) { return(BadRequest(new ApiExceptionResponse("Invalid Url"))); } var response = await _service.OrignalURL(Url); return(Ok(response)); }