// GET:DocumentType
        public ActionResult Index()
        {
            var model = _service.GetList();

            return(View(model));
        }
 // GET: api/DocumentType
 public IEnumerable <DocumentType> Get()
 {
     return(_service.GetList());
 }