Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using IoT_REST.Models;
- using IoT_REST.Repositories;
- using IoT_REST.Repositories.Interfaces;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net;
- using System.Net.Http;
- using System.Web.Http;
- using System.Web.Http.Description;
- namespace IoT_REST.Controllers
- {
- //[RoutePrefix("api/v1/main")]
- public class MainController : ApiController
- {
- private readonly IMainRepository repository;
- public MainController()
- {
- this.repository = new MainRepository();
- }
- [HttpGet]
- [ResponseType(typeof(OPCUAServer))]
- IHttpActionResult GetServers(int? id)
- {
- return Ok();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement