Example #1
0
        public void Insert(string Descripcion)
        {
            MamMaterial item = new MamMaterial();

            item.Descripcion = Descripcion;


            item.Save(UserName);
        }
Example #2
0
        public void Update(int IdMaterial, string Descripcion)
        {
            MamMaterial item = new MamMaterial();

            item.MarkOld();
            item.IsLoaded = true;

            item.IdMaterial = IdMaterial;

            item.Descripcion = Descripcion;

            item.Save(UserName);
        }
Example #3
0
 public bool Destroy(object IdMaterial)
 {
     return(MamMaterial.Destroy(IdMaterial) == 1);
 }
Example #4
0
 public bool Delete(object IdMaterial)
 {
     return(MamMaterial.Delete(IdMaterial) == 1);
 }