public ActionResult <List <(string, double)> > ClasifySong([FromForm] IFormFile file) { if (file.ContentType != "audio/wav" && file.ContentType != "audio/wave") { return(BadRequest()); } try { var results = _songService.ClasifySong(file.GetBytes(), HostingEnvironment.WebRootPath); return(results); } catch (Exception e) { return(BadRequest(e.Message)); } }