public void Delete(ScheduleTemplate data)
 {
     ScheduleTemplateDAO.Delete(data);
 }
 public ScheduleTemplate Add(ScheduleTemplate data)
 {
     ScheduleTemplateDAO.Add(data);
     return data;
 }
 public void Update(ScheduleTemplate data)
 {
     ScheduleTemplateDAO.Update(data);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Delete ScheduleTemplate from database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public void Delete(ScheduleTemplate data)
 {
     HibernateTemplate.Delete(data);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Add ScheduleTemplate to database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public ScheduleTemplate Add(ScheduleTemplate data)
 {
     HibernateTemplate.Save(data);
     return data;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Update ScheduleTemplate to database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public void Update(ScheduleTemplate data)
 {
     HibernateTemplate.Update(data);
 }