Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public async Task <IActionResult> GetAll()
 {
     return(Ok(await _locatorService.GetAll()));
 }