/// <Function> /// <MethodName> /// Delete /// </MethodName> /// <Description> /// Remove Model's information from database /// </Description> /// <Inputs> /// Model's iD /// </Inputs> /// <Returns> /// </Returns> /// </Function> public virtual void Delete(int IDValue) { try { baseFacade.Delete(IDValue); } catch (FacadeException ex) { } }
/// <Function> /// <MethodName> /// Delete /// </MethodName> /// <Description> /// Remove Model's information from database /// </Description> /// <Inputs> /// Model's iD /// </Inputs> /// <Returns> /// </Returns> /// </Function> public virtual void Delete(int IDValue) { try { baseFacade.Delete(IDValue); } catch (FacadeException ex) { throw new BOException("Can not delete from database" + ex.Message); } }