public ResponseModel SendTestEmail(TestEmailModel model) { throw new NotImplementedException(); }
public JsonResult SendTestEmail(TestEmailModel model) { if (ModelState.IsValid) { return Json(_emailAccountServices.SendTestEmail(model)); } return Json(new ResponseModel { Success = false, Message = GetFirstValidationResults(ModelState).Message }); }