Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. if (string.IsNullOrEmpty(barcode))
  2.                 return Redirect(@"/Admin/OrderHistory");
  3.  
  4.              var resultUri = Request.Url.Host.ToLower() == "wpc.iml.ru" ?
  5.                 "http://servicechecks.ru/" : "http://check-test.iml.ru/";
  6.  
  7.             return Redirect(resultUri + @"Check/GetListReceipt?barcodeParam=" + barcode + @"&search=найти");
  8.         }
  9.  
  10. Почему это не может работать?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement