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