public ReturnModel Put(ListItem item) { var listItem = list.FirstOrDefault(l => l.Id == item.Id); return new ReturnModel { Status = true,Id = list.Count }; }
public ReturnModel Post(ListItem item) { return new ReturnModel { Status = true,Id = list.Count,Type = item.Type }; }