示例#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);
 }