Exemple #1
0
 public String deleteTipoJuego(logica.Models.clsTipoFauna obclsTipoFaunaModels)
 {
     try
     {
         logica.BL.clsTipoFauna obclsTipoFauna = new logica.BL.clsTipoFauna();
         return(obclsTipoFauna.deleteTipoFauna(obclsTipoFaunaModels));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #2
0
 public List <logica.Models.clsTipoFauna> getTipoFauna()
 {
     try
     {
         logica.BL.clsTipoFauna obclsTipoFauna = new logica.BL.clsTipoFauna();
         return(obclsTipoFauna.getTipoFauna());
     }
     catch (Exception ew)
     {
         throw ew;
     }
 }
Exemple #3
0
 public String insertarTipoFauna(logica.Models.clsTipoFauna obclTipoFaunaModels)
 {
     try
     {
         logica.BL.clsTipoFauna obclsTipoFauna = new logica.BL.clsTipoFauna();
         return(obclsTipoFauna.InsertTipoFauna(obclTipoFaunaModels));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #4
0
 public void InsertTipoFauna(string stclsTipoFauna)
 {
     logica.BL.clsTipoFauna     obclsTipoFauna      = new logica.BL.clsTipoFauna();
     logica.Models.clsTipoFauna obclsTipoFaunaModel = JsonConvert.DeserializeObject <logica.Models.clsTipoFauna>(stclsTipoFauna);
     obclsTipoFauna.InsertTipoFauna(obclsTipoFaunaModel);
 }
Exemple #5
0
 public string getTipoFauna()
 {
     logica.BL.clsTipoFauna obclsTipoFauna = new logica.BL.clsTipoFauna();
     return(JsonConvert.SerializeObject(obclsTipoFauna.getTipoFauna()));
 }