hi friends,
I am looping insert method but for loop is not working properly,it is coming out from the loop continuously not executing.
if(date==dbdate)
{
Insert(fromdate,date,token);
}else
for((int i=1;i<=4;i++)
{ fromdate=date.AddDays(i).ToString("yyyy-MM-dd");
} }
Public async void Insert((string fromdate,DateTime dt,string token){
}
Please tell me how to do this one?