Exemplo n.º 1
0
        public ActionResult DeleteProfile([FromRoute, Required] string profileId)
        {
            var existingDeviceProfile = _dlnaManager.GetProfile(profileId);

            if (existingDeviceProfile == null)
            {
                return(NotFound());
            }

            _dlnaManager.DeleteProfile(profileId);
            return(NoContent());
        }
Exemplo n.º 2
0
 public void Delete(DeleteProfile request)
 {
     _dlnaManager.DeleteProfile(request.Id);
 }