Esempio n. 1
0
        public HttpResponseMessage GetSalesTeambyDistributorId(HttpRequestMessage request, dist d)
        {
            if (string.Empty == d.distributorid)
            {
                return(new HttpResponseMessage(HttpStatusCode.BadRequest));
            }



            return(request.CreateResponse(HttpStatusCode.OK, db.GetSalesTeambyDistributorId(d.distributorid)));
        }