Le sigh - needed to make a new ImportLogViewModel - can't be shared because of DenyPreviousMonth
This commit is contained in:
@@ -205,7 +205,7 @@ namespace MileageTraker.Web.Controllers
|
||||
|
||||
[HttpPost]
|
||||
[ActionLog]
|
||||
public ActionResult ImportCreate(LogImportViewModel viewModel)
|
||||
public ActionResult ImportCreate(ImportLogViewModel viewModel)
|
||||
{
|
||||
var buttonAttributes = new Dictionary<string, object> { { "class", "btn btn-mini" }, { "target", "_blank" } };
|
||||
|
||||
@@ -316,11 +316,11 @@ namespace MileageTraker.Web.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
private string GetFixLink(LogImportViewModel viewModel)
|
||||
private string GetFixLink(ImportLogViewModel viewModel)
|
||||
{
|
||||
try
|
||||
{
|
||||
viewModel.GetLogViewModel();
|
||||
viewModel.GetCreateLogViewModel();
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -331,7 +331,7 @@ namespace MileageTraker.Web.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public ActionResult ImportFix(LogImportViewModel viewModel)
|
||||
public ActionResult ImportFix(ImportLogViewModel viewModel)
|
||||
{
|
||||
var createGetLogViewModel = viewModel.GetCreateLogViewModel();
|
||||
createGetLogViewModel.Purpose = new SelectListViewModel
|
||||
|
||||
Reference in New Issue
Block a user