Exemplo n.º 1
0
        public async Task <IActionResult> ApprovePhoto(int id)
        {
            if (await _adminManager.ApprovePhoto(id))
            {
                return(Ok());
            }

            return(BadRequest("Failed to Approve the photo"));
        }