hytos / ID2.Manager / ID2.Manager.Controller / Controllers / UserController.cs @ 8164f84e
이력 | 보기 | 이력해설 | 다운로드 (552 Bytes)
1 | 8164f84e | yoush97 | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
5 | using System.Threading.Tasks; |
||
6 | |||
7 | using ID2.Manager.Data.Models; |
||
8 | using ID2.Manager.Dapper.Repository; |
||
9 | |||
10 | namespace ID2.Manager.Controller.Controllers |
||
11 | { |
||
12 | public class UserController : BaseController |
||
13 | { |
||
14 | public UserInfo GetUserInfo(string userId, string userPW) |
||
15 | { |
||
16 | using (UserRepository rep = new UserRepository(this._DbConnectionStr)) |
||
17 | { |
||
18 | return rep.GetUserInfo(userId, userPW); |
||
19 | } |
||
20 | } |
||
21 | } |
||
22 | } |