public void Update(Category category) { CurrentSession.SaveOrUpdate(category); }
public void Delete(Category category) { CurrentSession.Delete(category); }
public int Save(Category category) { return (int)CurrentSession.Save(category); }