常用方法
常用方法
常用方法
常用方法
public IActionResult LietKeTenDiemCL(string MaDiemCachLy) { StoreContext context1 = HttpContext.RequestServices.GetService(typeof(ontapck.Models.StoreContext)) as StoreContext; StoreContext context2 = HttpContext.RequestServices.GetService(typeof(ontapck.Models.StoreContext)) as StoreContext; MixCNDCL Itemglobal = new MixCNDCL(); Itemglobal.listdiemcl = context1.GetDiemCachLy(); Itemglobal.listcongnhan = context2.GetCongNhanByMaDiem(MaDiemCachLy); return(View(Itemglobal)); }