コード例 #1
0
        public IHttpActionResult GetBranchNotAssignedForProduct(int id /*productId*/) //this method is called to get branch info where the particular product is not assigned
        {
            BranchRepository branchRepository = new BranchRepository();
            List <Branch>    branchInfo       = branchRepository.GetBranchInfo(id);

            return(Ok(branchInfo));
        }