public ActionResult <GetLoginTypesResponse> GetLoginTypes(bool?isActive) { try { var result = _mainManager.GetLoginTypes(isActive); return(Ok(result)); } catch (Exception ex) { //TODO kali - log error return(StatusCode(500, ex)); } }