/// <summary> /// </summary> /// <param name="user"></param> protected virtual void SendVerifyEmail(User user, IMemberShipFactory _daFactory) { VerifyEmailModel model = new VerifyEmailModel(); model.Id = user.Id; model.Send(_daFactory); }
public object VerifyEmail() { var model = new VerifyEmailModel(); model.Id = OrnamentContext.MemberShip.CurrentUser().Id; model.Send(_memberShipFactory); return(true); }
public object VerifyEmail([FromBody] VerifyEmailModel model) { if (model.Send(_factory)) { return(new { success = true, }); } return(new { success = false, }); }
public bool VerifyEmail(VerifyEmailModel model) { model.Send(_factory); return(true); }