示例#1
0
        public async Task <IHttpActionResult> Delete(Guid id)
        {
            if (!await _socialService.CanDeleteAsync(id))
            {
                return(StatusCode(HttpStatusCode.Forbidden));
            }

            await _socialService.DeleteAsync(id);

            await OnBulletinDeletedAsync(id);

            ReloadFeed();
            return(Ok());
        }