Ejemplo n.º 1
0
        public async Task <IActionResult> Delete([FromBody] long[] ids)
        {
            long userid = UserIdentity.UserId;
            var  res    = await _resourceService.DeleteAsync(ids, userid);

            return(Ok(res));
        }
 public async Task <bool> DeleteAsync([FromBody] ResourceDeleteDTO dto)
 {
     return(await _resourceService.DeleteAsync(dto.Ids, dto.UserId));
 }
 public async Task <IResponseEntity> Delete(string id)
 {
     return(await _sysResourceService.DeleteAsync(id));
 }