Ejemplo n.º 1
0
        public async Task <bool> InsertSecondarySalesman(int salesmanId, int districtId)
        {
            var p = new SecondarySalesmanModel
            {
                SalesmanId = salesmanId,
                DistrictId = districtId
            };

            return(await HttpPut(GetUrl("SecondarySalesman"), p));
        }
 public async Task Put(SecondarySalesmanModel secondarySalesmanModel)
 {
     await secondarySalesmanDataAccess.Insert(secondarySalesmanModel.SalesmanId, secondarySalesmanModel.DistrictId);
 }