public JsonResult MemberLogin(string Mobile, string Code) { ResultInfo info = new ResultInfo(); info = MemberBussiness.LoginByMobile(Mobile, Code); return(Json(info)); }
public JsonResult GetVerifyByMobile(string Mobile) { ResultInfo info = new ResultInfo(); info = MemberBussiness.GetVerifyByMobile(Mobile); return(Json(info)); }
public void getMember() { MemberBussiness _bll = new MemberBussiness(); List <MemberModel> listMember = _bll.GetMember(); Assert.IsNotNull(listMember); }
private void frmOMList_Load(object sender, EventArgs e) { MemberBussiness _bll = new MemberBussiness(); //dgvMember.DataSource = _bll.GetMember().ToList(); dgvMember.DataSource = excelMemModel; //dgvMember.MaximumSize = }
public void GetMeberExcel() { MemberBussiness _bll = new MemberBussiness(); string filePath = "D:\\OCMS\\OH_MasterList\\CITIBANK SAVINGS, INC..xlsx"; string fileName = "CITIBANK SAVINGS, INC."; List <MemberModel> listMemModel = _bll.GetMemberExcel(filePath, fileName); Assert.IsNotNull(listMemModel); }
private void importListToolStripMenuItem_Click(object sender, EventArgs e) { MemberBussiness _bll = new MemberBussiness(); frmOMList frmOMList = new frmOMList(); OpenFileDialog openFileDialog = new OpenFileDialog(); if (openFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { string filePath = openFileDialog.FileName; string fileName = System.IO.Path.GetFileNameWithoutExtension(openFileDialog.FileName); //frmOMList.dgvMember.DataSource = _bll.GetMemberExcel(filePath, fileName); frmOMList.excelMemModel = _bll.GetMemberExcel(filePath, fileName); frmOMList.MdiParent = this; frmOMList.WindowState = FormWindowState.Maximized; frmOMList.dgvMember.MaximumSize = MaximumSize; frmOMList.Show(); } }
private void frmOMList_Load(object sender, EventArgs e) { MemberBussiness _bll = new MemberBussiness(); dgvMember.DataSource = excelMemModel; }