-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathSampleController.cs
More file actions
80 lines (64 loc) · 1.74 KB
/
SampleController.cs
File metadata and controls
80 lines (64 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
using ExpressBase.Common.ServiceClients;
using ExpressBase.Web.BaseControllers;
using ExpressBase.Web.Controllers;
using Microsoft.AspNetCore.Mvc;
using ServiceStack;
using ServiceStack.Redis;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace ExpressBase.Web2.Controllers
{
public class SampleController : EbBaseIntCommonController
{
public SampleController(IServiceClient _ssclient, IRedisClient _redis, IEbMqClient _mqc) : base(_ssclient, _redis, _mqc) { }
// GET: /<controller>/
public IActionResult Index()
{
return View();
}
[HttpGet]
public IActionResult MongoDBAsync()
{
return View();
}
[HttpGet]
public IActionResult FileUpload()
{
return View();
}
[HttpGet]
public IActionResult ImageUpload()
{
return View();
}
public IActionResult dragNdrop()
{
return View();
}
public IActionResult Eb_formBuilder()
{
return View();
}
public IActionResult GetData()
{
return View();
}
public string sample()
{
return "{'name':'haii'}";
}
public IActionResult Table()
{
return View();
}
public IActionResult Masterhome()
{
return View();
}
//[ValidateAntiForgeryToken]
public IActionResult RForm(int id)
{
ViewBag.FormId = id;
return View();
}
}
}