public PageResponse <Part> GetAllSearch([FromQuery(Name = "page")] int page, [FromQuery(Name = "perPage")] int perPage, [FromQuery(Name = "search")] string search) { return(partService.GetPage(new PageModel(page, perPage, search))); }