public DataRespond GetPrByLn(int lnid)
        {
            DataRespond data = new DataRespond();

            try
            {
                data.success = true;
                data.data    = _iproductResponsitory.GetProductByLinePr(lnid);
            }
            catch (Exception e)
            {
                data.success = false;
                data.error   = e;
            }

            return(data);
        }
Exemple #2
0
 public dynamic GetByLine(int id)
 {
     return(_iproductResponsitory.GetProductByLinePr(id));
 }