Example #1
0
        public ActionResult EditRecipients(int id)
        {
            var model = new EmailEditRecipientsModel
            {
                EmailId       = id,
                FromAddresses = new[] { GetUserEmailAddress() },
                ToAddresses   = new[] { GetUserEmailAddress() },
                Subject       = "subject"
            };

            return(View(model));
        }
Example #2
0
 public ActionResult EditRecipients(int id)
 {
     var model = new EmailEditRecipientsModel
                     {
                         EmailId = id,
                         FromAddresses = new[]
                                             {
                                                 User.Identity.Name
                                             },
                         ToAddresses = new[]
                                           {
                                               User.Identity.Name
                                           },
                         Subject = "subject"
                     };
     return View(model);
 }