Beispiel #1
0
 public static Concepto Crear(RepositoryProxy proxy , CrearConcepto concepto)
 {
     var c = new Concepto();
     c.PopulateWith(concepto);
     proxy.DbCmd.InsertAndAssertId(c);
     return c;
 }
        public BLResponse<Concepto> CrearConcepto(CrearConcepto concepto)
        {
            //if(concepto.Orden.IsNullOrEmpty()) concepto.Orden="999" ;
            var cp= Client.Execute(proxy=>{
                return Conceptos.Crear(proxy, concepto);
            });

            return new BLResponse<Concepto>(cp);
        }
 public BLResponse<Concepto> Post(CrearConcepto concepto)
 {
     return Controller.CrearConcepto(concepto);
 }