12345678910111213141516171819 |
- using API_sm.BaseConnection;
- using Microsoft.AspNetCore.Mvc;
- using API_sm.ModelBase;
- namespace API_sm.Controllers
- {
- [Route("api/[controller]")]
- [ApiController]
- [ApiExplorerSettings(GroupName = "Поиск")]
- public class GetClient
- {
- /*ApplicationContext db = new ApplicationContext();
- [HttpGet]
- public IActionResult Index(string name)
- {
- return Ok(db.client.Where(x => x.Name.Contains(name)).ToList());
- }*/
- }
- }
|