Ejemplo n.º 1
0
        public async Task <ActionResult <Guid> > Delete(Guid id)
        {
            try
            {
                await _membersService.DeleteAsync(id);

                return(Ok());
            }
            catch (Exception ex)
            {
                return(BadRequest("Somthing went wrong, Please try again later" + ex.Message));
            }
        }