public async Task <ActionResult> PresentationRejectConfirmed(PresentationViewModel model, int customerID, int contractorID) { if (ModelState.IsValid) { Presentation presentation = await presentationRepository.FindByIdAsync(model.PresentationID); presentation.Observations = model.Observations; presentation.RejectedForID = this.CurrentUserID; await presentationRepository.Reject(presentation); //Se recuperan los mails de los usuarios del Contratista var mailReceipts = await presentationServices.GetMailsContractors(contractorID); //Se envia un mail Avisando la situacion await workflowMessageService.SendRequirementPresentationRejectNotificationMessageAsync(presentation.ToDisplayViewModel(), mailReceipts); } return(RedirectToAction("PresentationsIndex", "Requirements", new { requirementID = model.RequirementID, customerID = customerID, contractorID = contractorID })); //return RedirectToAction("Index"); }