public async Task <IActionResult> ConvertFileToBudgetsEntities(IFormFile file) { try { return(Ok(await budgetsService.ConvertFileToEntites(file))); } catch (Exception e) { log.LogError(e.Message + "\nin:" + e.StackTrace); return(Problem(null)); } }