Building a string for post request in the following way,
var itemsToAdd = sl.SelProds.ToList(); if (sl.SelProds.Count() != 0) { foreach (var item
string str="This is test string."; str=str.Remove(str.Length-1);