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)); }