示例#1
0
 public static FormExternalSubmitValues MapModelToExternalFormSubmitValue(SubmitFormFieldModel model)
 {
     return(new FormExternalSubmitValues()
     {
         Date = DateTime.Now,
         FormFieldId = model.FormFieldId,
         FormId = model.FormId,
         Value = model.Value
     });
 }
示例#2
0
 public static FormSubmitValues MapModelToFormSubmitValue(SubmitFormFieldModel model, int userId, int clubId)
 {
     return(new FormSubmitValues()
     {
         ClubId = clubId,
         UserId = userId,
         Value = model.Value,
         Id = model.Id,
         FormId = model.FormId,
         FormFieldId = model.FormFieldId
     });
 }