常用方法
常用方法
常用方法
常用方法
public IActionResult GetCompanyCount() { var count = CompanyRepo.GetCompanyCount(); if (count > -1) { return(new ObjectResult(count)); } return(StatusCode(500)); }
public IActionResult GetCompanyCount() { var count = CompanyRepo.GetCompanyCount(); if (count > -1) { return(new ObjectResult(count)); } return(StatusCode(500)); }