public async Task <IHttpActionResult> PutArchive(int id) { var todoListDesc = new EntityDescriptor(id, GetETag()); var ret = await _todoListAppService.ArchiveAsync(todoListDesc); return(ETagOk(ret.EntityVersion, string.Empty)); }
public async Task <IHttpActionResult> PutArchive(int id) { await _todoListAppService.ArchiveAsync(id); return(Ok(string.Empty)); }