Exemplo n.º 1
0
        public IHttpActionResult Get()
        {
            DeptService deptService = CreateDeptService();
            var         depts       = deptService.GetDepts();

            return(Ok(depts));
        }