public static DynamicParameters AddUserInfo(this DynamicParameters parameters, User userInfo)
        {
            parameters.Add("@Email", userInfo.Email);
            parameters.Add("@FirstName", userInfo.FirstName);
            parameters.Add("@LastName", userInfo.LastName);
            parameters.Add("@TotalResponses", userInfo.TotalResponses);
            parameters.Add("@Ip", userInfo.Ip);

            return parameters;
        }
Example #2
0
 public TutanakDataEnvelope(GorulmusTutanakMesaji tutanakData, User userRecord)
 {
     TutanakData = tutanakData;
     UserRecord = userRecord;
 }