/// <summary>
 /// Remove device.
 /// </summary>
 /// <param name="req">WCF device request.</param>
 /// <returns>WCF response.</returns>
 public Response RemoveDevice(DeviceRequest req)
 {
     try
     {
         var devices = new FxA.Devices();
         devices.RemoveDevice(req.PublicKey, false, true);
         return(new Response(200, "Success"));
     }
     catch (Exception ex)
     {
         return(new Response(500, ex.Message));
     }
 }
 /// <summary>
 /// Add device.
 /// </summary>
 /// <param name="req">WCF device request.</param>
 /// <returns>WCF response.</returns>
 public Response AddDevice(DeviceRequest req)
 {
     try
     {
         var devices           = new FxA.Devices();
         var addDeviceResponse = devices.AddDevice(req.DeviceName, req.PublicKey);
         return(new Response(200, "Success"));
     }
     catch (Exception ex)
     {
         return(new Response(500, ex.Message));
     }
 }