public List <Category> GetAllData() { List <Category> test = objectSerializer.DeserializeList(Constants.category.Value); list = test.ToList(); return(test); }