public IActionResult Index() { customService.Call(); testService.Call(); return(Content($"{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff")}")); }
public Task <IActionResult> GetValue(string id) { return(Task.Factory.StartNew <IActionResult>(() => { _service.Call("123"); return Success(); })); }
public IActionResult Index() { _service.Call(new List <A> { new A() }, "b", 2); _service.Call2(); return(View()); }
public IActionResult Index() { _service.Call(); return(View()); }
public Task <IActionResult> GetValue(string id) { return(Task.Factory.StartNew <IActionResult>(() => { _service.Call("123"); // _testRepository.Delete<PbdmOrgan, string>(""); var a = _testRepository.Get <PbdmOrgan>().FirstOrDefault(x => x.Id == "1"); DataTable dataTable = _testRepository.GetDataTableWithSql("SELECT * FROM dbo.PBDM_ORGAN"); return Success(dataTable.ToJson()); })); }
public JsonResult GetAopData() { SysUser user = new SysUser() { UserName = "******", UserCode = "编码" }; _lgnoreService.GetA(user); _lgnoreService.GetB(); _lgnoreService.GetC(); _service.Call(); //_service.Say(); return(new JsonResult(true)); }
public ActionResult <string> Get(int id) { _service.Call(); return("value"); }
public IEnumerable <string> Get() { _service.Call(); return(new string[] { "value1", "value2" }); }
public void Test() { _service.Call(); }