public ApiResponse CreateUser(string user, string password) { var url = "/api/user/create"; var response = _testSupportApiHelper.Post(url, new { userName = user, password = password }); return(response); }
public ApiResponse UploadImage(string imageId, string imageData) { var url = "/api/image/upload"; var response = _testSupportApiHelper.Post(url, new ImageForm { ImageId = imageId, ImageData = imageData }); return(response); }