예제 #1
0
        // PUT: api/Hey/5
        public IHttpActionResult Put(string id, [FromBody] HeyRememberDto heyRemember)
        {
            heyRemember.Id = id;
            IHeyResponse heyResponse = _heyService.Update(id, heyRemember);

            return(heyResponse.Execute(this));
        }
예제 #2
0
        // DELETE: api/Hey/5
        public IHttpActionResult Delete(string id)
        {
            IHeyResponse heyResponse = _heyService.Delete(id);

            return(heyResponse.Execute(this));
        }
예제 #3
0
        public IHttpActionResult Post([FromBody] HeyRememberDto heyRemember)
        {
            IHeyResponse heyResponse = _heyService.Create(heyRemember);

            return(heyResponse.Execute(this));
        }