Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (ModelState.IsValid)
- {
- IdentityUser user = await _userManager.FindByIdAsync(User.FindFirst(ClaimTypes.NameIdentifier).Value);
- Logica.BL.Tenants tenants = new Logica.BL.Tenants();
- var tenant = tenants.GetTenants(user.Id).FirstOrDefault();
- Logica.BL.Projects projects = new Logica.BL.Projects();
- projects.CreateProjects(model.Title,
- model.Details,
- model.ExpectedCompletionDate,
- tenant.Id);
- return RedirectToAction("Index");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement