//POST: api/WebApi/ForgotPassword public async Task ForgotPassword(ForgotPasswordViewModel model) { if (ModelState.IsValid) { await accountRepository.ForgotPassword(model); } }