public async Task <IActionResult> Create(ExpenseViewModel model)
        {
            if (ModelState.IsValid)
            {
                string path = string.Empty;
                if (model.PictureFile != null)
                {
                    path = await _imageHelper.UploadImageAsync(model.PictureFile, "Expenses");
                }
                model.Date = DateTime.UtcNow;
                ExpenseEntity expense = await _converterHelper.ToAddExpenseEntity(model, path);

                _dataContext.Add(expense);
                await _dataContext.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }

            model.ExpensesType = _combosHelper.GetComboExpenses();
            return(View(model));
        }