public IActionResult GetServiceById(long id) { if (!Request.Headers.ContainsKey("Authorization")) { return(Unauthorized()); } var data = _alphahomeService.GetServiceById(id); return(new JsonResult(data)); }
public IActionResult GetServiceById(long id) { if (!Request.Headers.ContainsKey("Authorization")) { return(Unauthorized()); } var data = _alphahomeService.GetServiceById(id); return(new JsonResult(data)); }