public void Put(Wruntism wrunt) { var model = GetModel(); model.AddOrUpdateWruntism(wrunt.Message, wrunt.Id); model.SaveToFile(); }
public void Delete(Wruntism wrunt) { var model = GetModel(); model.RemoveWruntismById(wrunt.Id); model.SaveToFile(); }
public void Post(Wruntism wrunt) { var model = GetModel(); model.FixIds(); model.AddOrUpdateWruntism(wrunt.Message); model.SaveToFile(); }