public void AddOrUpdate(Template t)
 {
     t.ValidateFields();
     _dataAccess.AddOrUpdate(t);
 }