public IDataResult <Part> GetById(int partId) { return(new SuccessDataResult <Part>(_partDal.Get(c => c.PartId == partId))); }
public Part GetById(int id) { return(partDal.Get(e => e.PartID == id)); }
public IDataResult <Part> GetById(int partId) { return(new SuccessDataResult <Part>(_partDal.Get(c => c.PartId == partId))); }
public Part GetById(int id) { return(partDal.Get(e => e.PartID == id)); }