public HttpResponseMessage CheckLoginTest(string LoginName, string Password)
 {
     string IsResult;
         SynDataClientToServer _cls = new SynDataClientToServer();
         IsResult = _cls.CheckLoginTest(LoginName, Password);
         return Request.CreateResponse(HttpStatusCode.OK, IsResult);
 }
 public HttpResponseMessage SynNailProduct(string LoginName, string Password, int StoreID, List<NailSyn.DataAccess.SynProductClient> ListProduct)
 {
     bool IsResult = false;
         SynDataClientToServer _cls = new SynDataClientToServer();
         IsResult = _cls.SynProductToServer(LoginName, Password, StoreID, ListProduct);
         if (IsResult)
             return Request.CreateResponse(HttpStatusCode.OK, true);
         else
             return Request.CreateErrorResponse(HttpStatusCode.ExpectationFailed, "Not ok");
 }
 public HttpResponseMessage SynInvoiceClientToServer(string LoginName, string Password, int StoreID, NailSyn.DataAccess.Model.InvoiceClient dataInvoice)
 {
     bool IsResult = false;
         SynDataClientToServer _cls = new SynDataClientToServer();
         IsResult = _cls.SynInvoiceClientToServer(LoginName, Password, StoreID, dataInvoice);
         if (IsResult)
             return Request.CreateResponse(HttpStatusCode.OK, true);
         else
             return Request.CreateErrorResponse(HttpStatusCode.ExpectationFailed, "Not ok");
 }