public ActionResult Post([FromBody] RequestModel request) { if (request.content == string.Empty || !Helper.IsBase64String(request.content)) { return(BadRequest("Not a valid content")); } return(Ok(_service.ConvertCsvToJson(request))); }
public ActionResult Post([FromBody] RequestModel request) { if (request.content == string.Empty || !Helper.IsBase64String(request.content)) { return(BadRequest("Not a valid content")); } return(Ok(_service.ConvertCsvToJson(request))); }