public string Registrar(EMA_LOT ee) { if (MA_LOTDA.GetByid(ee) == null) { return(MA_LOTDA.Insert(ee)); } else { return(MA_LOTDA.Update(ee)); } }
public EMA_LOT ListarxId(EMA_LOT ee) => MA_LOTDA.GetByid(ee);