public bool Commit(Notifiable entity) { if (entity.IsNotification()) { _uow.Commit(); return(true); } else { _uow.Rollback(); return(false); } }
public bool Commit(Notifiable entity) { if (entity.IsNotification()) { _uow.Commit(); return(true); } else { _uow.Rollback(); return(false); } }