Exemple #1
0
 /// <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)
     {
     }
 }
Exemple #2
0
 /// <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);
     }
 }