public ActionResult <StandDto> GetNewStandLocation(Guid guid, [FromQuery(Name = "exclude")] string excludedGuids) { var excludedGuidList = excludedGuids.Length > 0 ? new List <string>(excludedGuids.Split(",")).ConvertAll(guidStr => Guid.Parse(guidStr)) : new List <Guid>(); return(Ok(standControl.NextLocation(guid, excludedGuidList).ToDto())); }