public ActionResult Index2(string ngayNhap, string thangNhap, string namNhap, string maLoaiMatHang)
        {
            try
            {
                int ngay  = Int32.Parse(ngayNhap);
                int thang = Int32.Parse(thangNhap);
                int nam   = Int32.Parse(namNhap);

                var iplNhapMatHang = new NhapMatHangModel();
                var model          = iplNhapMatHang.ListByDayAndType(ngay, thang, nam, maLoaiMatHang);
                NHAPMATHANG.DayTmp   = ngay;
                NHAPMATHANG.MonthTmp = thang;
                NHAPMATHANG.YearTmp  = nam;
                NHAPMATHANG.MaLMHTmp = maLoaiMatHang;
                NHAPMATHANG.dateTmp  = new DateTime(nam, thang, ngay);
                return(View(model));
            }
            catch {
                return(null);
            }
        }
        // GET: /Admin/NhapMatHang/Index?ngayNhap=20192111&maLoaiMatHang=LH001
        public ActionResult Index()
        {
            DateTime dateTime = DateTime.UtcNow.Date;

            try
            {
                int ngay  = dateTime.Day;
                int thang = dateTime.Month;
                int nam   = dateTime.Year;

                var iplNhapMatHang = new NhapMatHangModel();
                var model          = iplNhapMatHang.ListByDayAndType(ngay, thang, nam, "LH001");
                NHAPMATHANG.DayTmp   = ngay;
                NHAPMATHANG.MonthTmp = thang;
                NHAPMATHANG.YearTmp  = nam;
                NHAPMATHANG.MaLMHTmp = "LH001";
                NHAPMATHANG.dateTmp  = new DateTime(nam, thang, ngay);
                return(View(model));
            }
            catch
            {
                return(null);
            }
        }