예제 #1
0
        public HttpResponseMessage AgregarLink([FromBody] CrearLinkRequest request)
        {
            var link = LinkRepository.InsertarLink(request.LinkNombre, request.IdUsuario, request.IdLogo, request.Logo);

            return(Request.CreateResponse(HttpStatusCode.OK, link));
        }