public static objCM.Feedback ToModelObj(this dataCM.Feedback source) { return(new objCM.Feedback() { CreatedBy = source.CreatedBy, CreatedUtcDate = source.CreatedUtcDate, DataVersion = source.DataVersion, Description = source.Description, Dispositioned = source.Dispositioned, FeaturedEventId = source.FeaturedEventId, FeedbackId = source.FeedbackId, FeedbackInitiatorTypeId = source.FeedbackInitiatorTypeId, FeedbackTypeId = source.FeedbackTypeId, IsChat = source.IsChat, IsDeleted = source.IsDeleted, IsPublic = source.IsPublic, Latitude = source.Latitude, Longitude = source.Longitude, ModifiedBy = source.ModifiedBy, ModifiedUtcDate = source.ModifiedUtcDate, RatingValue = source.RatingValue, SessionId = source.SessionId, Source = source.Source, Title = source.Title, UserProfileId = source.UserProfileId, }); }
public async Task <int> WriteFeedbackRecord(modelData.Feedback feedbackData) { return(0); }
public async Task <int> WriteFeedbackRecord(dataModel.Feedback feedbackData) { return(await conn.InsertAsync(feedbackData)); }