public HttpResponseMessage PostDonNhapHang(DonNhapHang item)
        {
            DonNhapHangServices.AddDonNhapHang(item);
            var response = Request.CreateResponse <DonNhapHang>(HttpStatusCode.Created, null);

            string uri = Url.Link("DefaultApi", null);

            response.Headers.Location = new Uri(uri);
            return(response);
        }
 public void PutDonNhapHang(string maDNH, DateTime NgayLap, string maNV)
 {
     DonNhapHangServices.SetDonNhapHang(maDNH, NgayLap, maNV);
 }
 public List <DonNhapHang> GetAllDonNhapHang()
 {
     return(DonNhapHangServices.GetAllDonNhapHang());
 }