Example #1
0
 public bool Guardar(Guid UIDOFERTA, Guid UIDSUCURSAL, string NOMBRE, string ESTATUS)
 {
     try
     {
         oOferta           = new Oferta();
         oOferta.UID       = UIDOFERTA;
         oOferta.STRNOMBRE = NOMBRE;
         oOferta.oSucursal = new Sucursal()
         {
             ID = UIDSUCURSAL
         };
         oOferta.oEstatus = new Estatus()
         {
             ID = int.Parse(ESTATUS)
         };
         return(oOferta.Guardar());
     }
     catch (Exception)
     {
         throw;
     }
 }