예제 #1
0
 public void CreatHistoryUser(HistoryUserDTO historyUser)
 {
     new HistoryUserDao().CreateHistoryUser(new HistoryUser()
     {
         MusicID = historyUser.MusicID,
         UserID  = historyUser.UserID
     });
 }
예제 #2
0
        public IHttpActionResult CreateHistoryUser([FromBody] HistoryUserDTO historyUser)
        {
            try
            {
                new Repositories().CreateHistoryUser(historyUser);

                return Ok();
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                return InternalServerError();
            }
        }
예제 #3
0
 public void CreateHistoryUser(HistoryUserDTO historyUser)
 {
     new UserBus().CreatHistoryUser(historyUser);
 }