コード例 #1
0
        public HttpResponseMessage GetOutdoorDepartmentList(string userName)
        {
            var formatter = RequestFormat.JsonFormaterString();

            return(Request.CreateResponse(HttpStatusCode.OK, _dGateway.GetIdNameForDropDownBox("SELECT Id,Name FROm tbl_DEPARTMENT_FOR_OUTDOOR_MST WHERE BranchId=" + _dGateway.GetBranchIdByuserName(userName) + " Order By Id"), formatter));
        }