Ejemplo n.º 1
0
        public async Task <HttpResponseMessage> PostSendToList([FromUri] int templateid, [FromBody] List <Guid> guids)
        {
            var list = await manager.GetListOfEmailsByGuids(guids);

            await manager.SendEmailToList(list, templateid);

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