Ejemplo n.º 1
0
        public JsonResult CheckTrackNameExists(string TrackName)
        {
            try
            {
                var isTrackNameExists = false;

                if (TrackName != null)
                {
                    isTrackNameExists = _ITrack.CheckTrackNameExists(TrackName);
                }

                if (isTrackNameExists)
                {
                    return(Json(data: true));
                }
                else
                {
                    return(Json(data: false));
                }
            }
            catch (Exception)
            {
                throw;
            }
        }