多参数到一个表中

问题描述 投票:0回答:0

如何将1个以上的参数以粗体形式传递给表格?

  NetCoreAuthenicationContext dbContext = new NetCoreAuthenicationContext();

    //Post Api Controller
    [HttpPost]
    public string Post([FromBody] TblUser value)
    {
        //Check exist

==> 如果(dbContext.TblUser.Any(user => user.UserName.Equals(value.UserName)))

model-view-controller parameters dbcontext
© www.soinside.com 2019 - 2024. All rights reserved.