Example #1
0
        public static IList <LocatorModel> GetLocatorsCombo(long sobId)
        {
            IList <LocatorModel> modelList = service.GetAll(AuthenticationHelper.CompanyId.Value, sobId)
                                             .Select(x => new LocatorModel(x)).ToList();

            return(modelList);
        }
 public async Task <IActionResult> GetAll()
 {
     return(Ok(await _locatorService.GetAll()));
 }