示例#1
0
        public ActionResult getAllCommissionPaymentByCommissionID(int _commissionID, int _quaterID, int?_skip, int?_take)
        {
            CommissionPaymentDetail objcommissionPaymentDetail = new CommissionPaymentDetail();
            var getCommissionDetails = _icommission.GetAllCommissionPaymentByCommissionID(_commissionID, _quaterID, GlobalConst.Records.Skip, GlobalConst.Records.LandingTake);

            objcommissionPaymentDetail.CommissionPaymentDetails = Mapper.Map <IEnumerable <CommissionPayment> >(getCommissionDetails.CommissionPaymentDetails);
            objcommissionPaymentDetail.TotalCount = getCommissionDetails.TotalCount;
            return(Json(objcommissionPaymentDetail, GlobalConst.ContentTypes.TextHtml));
        }
示例#2
0
        public void Get_AllCommissionPaymentByCommissionID()
        {
            var _res = _commissionImplBL.GetAllCommissionPaymentByCommissionID(1, 1, 0, 10);

            Assert.IsTrue(_res != null, "Unable to find");
        }