|
@@ -1,7 +1,7 @@
|
1
|
1
|
using System;
|
2
|
|
-using System.Collections.Generic;
|
3
|
2
|
using System.Web.Http;
|
4
|
3
|
using iiie.WebApiUtils.BusinessManager;
|
|
4
|
+using iiie.WebApiUtils.DBO;
|
5
|
5
|
using WebAPiUtils_test.BusinessManager;
|
6
|
6
|
using WebAPiUtils_test.DBO;
|
7
|
7
|
|
|
@@ -18,9 +18,9 @@ namespace WebAPiUtils_test.Controllers
|
18
|
18
|
|
19
|
19
|
[HttpGet]
|
20
|
20
|
[Route("api/values/contains")]
|
21
|
|
- public IEnumerable<ValuesDboGet> Contains(string text, int page = 0, int perPage = Int32.MaxValue)
|
|
21
|
+ public DboGetMultiple<ValuesDboGet> Contains(string text, int page = 0, int perPage = Int32.MaxValue)
|
22
|
22
|
{
|
23
|
|
- return BMRHandler<IEnumerable<ValuesDboGet>>.Handle(ValuesBusiness.Contains(text, page, perPage), Request);
|
|
23
|
+ return BMRHandler<DboGetMultiple<ValuesDboGet>>.Handle(ValuesBusiness.Contains(text, page, perPage), Request);
|
24
|
24
|
}
|
25
|
25
|
|
26
|
26
|
[HttpPost]
|