You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
When posting a form with a POCO object and FormCollection object to a Controller Action a SystemMethodException occurs. This was working fine in RC1 but since the upgrade to RC2 the exception started.
Here is the part of the Action:
// POST: Candidate/Create
[Authorize]
[HttpPost]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Create(Candidate candidate, FormCollection obj, IList<IFormFile> files)
{
var auser = await _userManager.FindByNameAsync(User.Identity.Name);
var employee = _employeeService.GetEmployee(auser.Id);
if (employee != null && employee.PartnerId != null)
{
ViewBag.PartnerId = employee.PartnerId;
}
...
}