public override TipoServicio ReadBy(int id) { TipoServicio result = default(TipoServicio); var tipoServicioDAC = new TipoServicioDAC(); result = tipoServicioDAC.ReadBy(id); return(result); }
public TipoServicio BuscarPorId(int id) { TipoServicio result = default(TipoServicio); var tipoServicioDAC = new TipoServicioDAC(); result = tipoServicioDAC.ReadBy(id); return(result); }
public TipoServicio GetByID(int ID) { TipoServicio result = default(TipoServicio); var tiposervicioDAC = new TipoServicioDAC(); result = tiposervicioDAC.ReadBy(ID); return(result); }
public TipoServicio Find(int?id) { TipoServicio result = default(TipoServicio); var tipoServicioDAC = new TipoServicioDAC(); result = tipoServicioDAC.ReadBy(id.Value); return(result); }
public TipoServicio Details(int Id) { TipoServicio result = default(TipoServicio); var tipoServicioDAC = new TipoServicioDAC(); result = tipoServicioDAC.ReadBy(Id); return(result); }
public TipoServicio Eliminar(int id) { TipoServicio result = default(TipoServicio); var tipoServicioDAC = new TipoServicioDAC(); try { result = tipoServicioDAC.ReadBy(id); tipoServicioDAC.Delete(id); return(result); } catch (Exception) { throw; } }