예제 #1
0
        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);
        }
예제 #2
0
 public UserProfileListResponse(int httpCode, string explanation)
 {
     ApiFeedback = new ApiFeedback(httpCode, explanation);
 }
예제 #3
0
 public UserProfileListResponse(int httpCode, List <UserProfile> userProfiles)
 {
     ApiFeedback  = new ApiFeedback(httpCode);
     UserProfiles = userProfiles;
 }
예제 #4
0
 public UserProfileListResponse(int httpCode)
 {
     ApiFeedback = new ApiFeedback(httpCode);
 }