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