public string Registrar(EMA_CENTER_COST ee)
 {
     if (MA_CENTER_COSTDA.GetByid(ee) == null)
     {
         return(MA_CENTER_COSTDA.Insert(ee));
     }
     else
     {
         return(MA_CENTER_COSTDA.Update(ee));
     }
 }
 public EMA_CENTER_COST ListarxId(EMA_CENTER_COST ee) => MA_CENTER_COSTDA.GetByid(ee);
 public List <EMA_CENTER_COST> Listar(EMA_CENTER_COST ee)
 {
     return(MA_CENTER_COSTDA.GetAll(ee));
 }
 public string Eliminar(EMA_CENTER_COST ee)
 {
     return(MA_CENTER_COSTDA.Delete(ee));
 }