public async Task CreateFeedbackAsync(ApiFeedback apiFeedback) { var feedback = new Feedback { CameraNumber = apiFeedback.CameraNumber, Text = apiFeedback.Text, Title = apiFeedback.Title, X = apiFeedback.X, Y = apiFeedback.Y }; await this.feedbackRepository.WriteAsync(feedback).ConfigureAwait(false); }
public UserProfileListResponse(int httpCode, string explanation) { ApiFeedback = new ApiFeedback(httpCode, explanation); }
public UserProfileListResponse(int httpCode, List <UserProfile> userProfiles) { ApiFeedback = new ApiFeedback(httpCode); UserProfiles = userProfiles; }
public UserProfileListResponse(int httpCode) { ApiFeedback = new ApiFeedback(httpCode); }