public static List <MayInDigi> DocTatCa() { //Sắp xếp theo thứ tự var khoSanPhamLogic = new MayInDigiLogic(); List <MayInDigi> nguon = null; try { nguon = khoSanPhamLogic.DocTatCa().Select(x => new MayInDigi { ID = x.ID, Ten = x.Ten, KhoInMin = x.KhoInMin, KhoInMax = x.KhoInMax, ThongTinTocDo = x.ThongTinTocDo, TocDoHieuQua = x.TocDoHieuQua, BHR = x.BHR, PhiPhePhamSanSang = x.PhiPhePhamSanSang, ThoiGianSanSang = x.ThoiGianSanSang, ClickA4_4M = x.ClickA4_4M, ClickA4_1M = x.ClickA4_1M, ClickA4_6M = x.ClickA4_6M, }).ToList(); } catch { } return(nguon); }