public ActionResult Create([Bind(Include = "Id,RecipientId,Name,Description,Amount,DateOfInitiative")] Collect collect) { if (ModelState.IsValid) { using (var collectService = new CollectsService()) { collect.OwnerId = GetUserId(); collectService.CollectAdd(collect); var newCollectionUsers = new CollectUser(); newCollectionUsers.UserId = collect.OwnerId; newCollectionUsers.CollectId = collect.Id; collectService.CollectUserAdd(newCollectionUsers); //Send Email using (var userService = new UsersService()) { collectService.SendEmailsCreate(userService.GetUserIndex().Where(i => i.Id != collect.RecipientId).ToList(), collect); } return(RedirectToAction("Details", "Collects", new { id = collect.Id })); } } using (var collectService = new CollectsService()) { ViewBag.OwnerId = new SelectList(collectService.AllMyUserList(), "Id", "Name", collect.OwnerId); ViewBag.RecipientId = new SelectList(collectService.AllMyUserList(), "Id", "Name", collect.RecipientId); return(View(collect)); } }