Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public ActionResult Email(int id = 0) { var userId = User.Identity.GetUserId(); var email = id == 0 ? _emailRepository.GetNewEmail(userId) : _emailRepository.GetEmail(userId, id); var editEmail = PrepareEmailVm(email, userId); return(View(editEmail)); }