|
@@ -40,7 +40,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
int PageNum = int.Parse(function.CheckInt(data["PageNum"].ToString()));
|
|
|
List<Dictionary<string, object>> dataList = new List<Dictionary<string, object>>();
|
|
|
IQueryable<OpenBankTable> query = maindb.OpenBankTable;
|
|
|
- if(!value.Contains("\"Areas\""))
|
|
|
+ if(value.Contains("\"Areas\""))
|
|
|
{
|
|
|
if(!string.IsNullOrEmpty(data["Areas"].ToString()))
|
|
|
{
|
|
@@ -48,7 +48,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
query = query.Where(m => m.BankName.Contains(Areas));
|
|
|
}
|
|
|
}
|
|
|
- if(!value.Contains("\"BankName\""))
|
|
|
+ if(value.Contains("\"BankName\""))
|
|
|
{
|
|
|
if(!string.IsNullOrEmpty(data["BankName"].ToString()))
|
|
|
{
|