public IDataResult <Seller> GetById(int id) { return(new SuccessDataResult <Seller>(_sellerDal.Get(b => b.Id == id), Messages.SellerGetById)); }
public Seller GetById(int id) { return(_sellerDal.Get(s => s.SellerId == id)); }
public Seller GetById(int sellerId) { return(_sellerDal.Get(u => u.SellerId == sellerId)); }