public HttpResponseMessage SaveImageSchemaPE(DtoUploadSchema schema)
        {
            byte[] data          = Convert.FromBase64String(schema.schema);
            string decodedSchema = Encoding.UTF8.GetString(data);

            _response.Content = new StringContent(
                new ClientImagingServices().SaveImageSchema(schema.profileId, decodedSchema), Encoding.UTF8, "text/plain");
            return(_response);
        }
 public HttpResponseMessage SaveImageSchema(DtoUploadSchema schema)
 {
     _response.Content = new StringContent(
         new ClientImagingServices().SaveImageSchema(schema.profileId, schema.schema), Encoding.UTF8, "text/plain");
     return(_response);
 }